//配置具体的修改规则
const { override, addLessLoader, addWebpackAlias} = require('customize-cra');
const path = require('path');


module.exports = override(
	addLessLoader({ // 引入less
		javascriptEnabled: true,
		sourceMap:true,
	}),
	addWebpackAlias({  // 添加路径别名
		["@"]: path.resolve(__dirname, "src"),
	})
);